﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

<div class="box">
    <h2 id="title-createrole">Create role</h2>
        
    <% using (Html.BeginForm("CreateRole", "Admin", FormMethod.Post, new { @class = "standardform" }))
    { %>
        
    <div class="boxcontent">
        <table>
            <tr>
                <td style="width: 140px;">Name</td>
                <td style="width: 200px;"><%= Html.TextBox("rolename", "", new { @class = "fullwidth" }) %></td>
                <td class="hint"></td>
            </tr>
            
            <tr>
                <td>Icon URL</td>
                <td><%= Html.TextBox("roleiconurl", "~/img/", new { @class = "fullwidth" }) %></td>
                <td class="hint"></td>
            </tr>
        </table>
    </div>
        
    <div class="boxfooter">
        <input type="submit" value="Create" id="button-createrole" />
    </div>
        
    <%} %>
</div>
